//
//  MZcondetailViewController.m
//  民族文化宫
//
//  Created by 何锦坤 on 14-8-12.
//  Copyright (c) 2014年 WANG CUNRUI. All rights reserved.
//

#import "MZcondetailViewController.h"

@interface MZcondetailViewController ()

@end

@implementation MZcondetailViewController

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
        // Custom initialization
    }
    return self;
}

- (void)viewDidLoad
{
    [super viewDidLoad];
    UIButton *button1 = [UIButton buttonWithType:UIButtonTypeCustom];
    //    [_button1 setBackgroundImage:[UIImage imageNamed:@"map.png"] forState:UIControlStateNormal];
    button1.frame = CGRectMake(0, 0, 15, 15);
    button1.layer.cornerRadius = 8;
    [button1 setTitle:@"展厅一楼" forState:UIControlStateNormal];
    [button1 addTarget:self action:@selector(butClick1:) forControlEvents:UIControlEventTouchUpInside];
    [button1 setBackgroundColor:[UIColor clearColor]];
    button1.tag = 1;
    [self.view addSubview:button1];
    UIButton *button2 = [UIButton buttonWithType:UIButtonTypeCustom];
    button2.frame = CGRectMake(105, 0, 10, 10);
    button2.layer.cornerRadius = 8;
    [button2 setTitle:@"展厅一楼" forState:UIControlStateNormal];
    [button2 addTarget:self action:@selector(butClick2:) forControlEvents:UIControlEventTouchUpInside];
    [button2 setBackgroundColor:[UIColor clearColor]];
    button2.tag = 1;
    [self.view addSubview:button2];
    UILabel *label= [[UILabel alloc] initWithFrame:CGRectMake(0, 0, 120, 10)];
    label.font = [UIFont boldSystemFontOfSize:10];
    label.textColor = [UIColor blackColor];
    label.textAlignment = NSTextAlignmentCenter;
    label.numberOfLines = 3;
    label.text = @"古代陶瓷艺术展";
    [label setBackgroundColor:[UIColor clearColor]];
    [self.view addSubview:label];
    UIImageView *moImage = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"ic_arrow.png"]];
    moImage.frame = CGRectMake(105, 0, 10,10);
    [self.view addSubview:moImage];
    UIImageView *moImage1 = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"ic_arrow.png"]];
    moImage1.frame = CGRectMake(0, 0, 10,10);
    [self.view addSubview:moImage1];
        // Do any additional setup after loading the view.
}



- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender
{
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
